<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>开始使用 layui</title>
  <link rel="stylesheet" href="./static/css/layui.css">
  <style>
    .box{
      border: 1px solid red;
      margin:0 auto;
    }

    .box .top{
      border-bottom: 2px solid green;
      height:50px;
      margin:0 auto;
    }

    .box .main{
      border: 0px solid black;
      width:100%;
      margin:0 auto;
    }

    .box .left{
      border-right: 1px solid blue;
      height:100%;
      width:20%;
      margin:0 auto;
      float:left;
    }
    .box .right{
      border: 0px solid blue;
      height:100%;
      margin:0 auto;
      float:none;
    }

    .box .footer{
      border-top: 1px solid blue;
      margin:0 auto;
    }



  </style>
</head>
<body>

<div class="box">
  <div class="top"><h1>报表数据</h1></div>
  <div class="main">
    <div class="left"><h1>左菜单</h1></div>
    <div class="right"><h1>右数据</h1></div>
  </div>
  <div class="footer"><h1>底</h1><div>
</div>


<script src="static/layui.js"></script>
<script>
//一般直接写在一个js文件中
layui.use(['layer', 'form'], function(){
  var layer = layui.layer
  ,form = layui.form;

  layer.msg('Hello World');
});
</script>
</body>
</html>